package com.fansl.koala.quickdev.common.exception;

import com.fansl.koala.quickdev.common.enums.ResultEnum;
import lombok.Getter;

/**
 * @author fansl
 * @Description: 注册校验异常
 * @date 2020/3/17 16:29
 */
public class RegisterCheckedException extends BizException {
    @Getter
    private final int code = ResultEnum.REGISTER_ERROR.getCode();

    public RegisterCheckedException() {
        super(ResultEnum.REGISTER_ERROR.getMessage());
    }

    public RegisterCheckedException(String message) {
        super(message);
    }
}
